package com.cx.mapper;

import com.cx.pojo.Communitytype;
import com.cx.pojo.CommunitytypeExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface CommunitytypeMapper {
    int countByExample(CommunitytypeExample example);

    int deleteByExample(CommunitytypeExample example);

    int deleteByPrimaryKey(Integer ctId);

    int insert(Communitytype record);

    int insertSelective(Communitytype record);

    List<Communitytype> selectByExample(CommunitytypeExample example);

    Communitytype selectByPrimaryKey(Integer ctId);

    int updateByExampleSelective(@Param("record") Communitytype record, @Param("example") CommunitytypeExample example);

    int updateByExample(@Param("record") Communitytype record, @Param("example") CommunitytypeExample example);

    int updateByPrimaryKeySelective(Communitytype record);

    int updateByPrimaryKey(Communitytype record);
}